/*
 * Description:双击边
 */

export default {
  getEvents() {
    return {
      'edge:dblclick': 'onEdgeDblclick'
    };
  },
  onEdgeDblclick(e) {
    // const labelX = e.item._cfg.group._cfg.children[0]._attrs.labelX;
    // const labelY = e.item._cfg.group._cfg.children[0]._attrs.labelY;
    // const text = e.item._cfg.model.label;
    // const item = e.item;
    // eventBus.$emit('graph_edgeDblclick', e);
    // this.compBox
    //   .getCompMergeName(this.compID, `editor`)
    //   .executeCommand('update', [e]);
  }
};
